﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES._wangweihao
{
    /// <summary>
    /// 库存盘点记录表
    /// </summary>
    public class StockTaking : Entity<int>
    {

        /// <summary>
        /// 行ID
        /// </summary>
        public int? LineId { get; set; }

        /// <summary>
        /// 盘点单编号
        /// </summary>
        [StringLength(64)]
        public string? TakingCode { get; set; }

        /// <summary>
        /// 盘点单名称
        /// </summary>
        [StringLength(255)]
        public string? TakingName { get; set; }

        /// <summary>
        /// 盘点日期
        /// </summary>
        public DateTime? TakingDate { get; set; }

        /// <summary>
        /// 盘点人用户名
        /// </summary>
        [StringLength(64)]
        public string? UserName { get; set; }

        /// <summary>
        /// 盘点人名称
        /// </summary>
        [StringLength(255)]
        public string? NickName { get; set; }

        /// <summary>
        /// 盘点类型
        /// </summary>
        [StringLength(64)]
        public string? TakingType { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int? WarehouseId { get; set; }

        /// <summary>
        /// 仓库编号
        /// </summary>
        [StringLength(64)]
        public string? WarehouseCode { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        [StringLength(255)]
        public string? WarehouseName { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        [StringLength(64)]
        public string? Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(500)]
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [StringLength(64)]
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        [StringLength(64)]
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
